<?php
class ModuleItemDurationLogModel extends SzMySqlModel
{

    /**
     * @see SzAbstractModel::$ORM_NAME
     * @var string
     */
    public static $ORM_NAME = 'ModuleItemDurationLog';

    /**
     * Initialize the ModuleItemDurationLogModel.
     *
     * @return ModuleItemDurationLogModel
     */
    public function __construct()
    {
        $moduleAppConfig = SzConfig::get()->loadAppConfig("module_item/app", null, false, false);

        $this->table = 'duration_item_log';
        $this->columns = array('id', 'uid', 'itemid', 'c_time', 'expire_time', 'c_value', );
        $this->autoIncrColumn = 0;
        $this->diffUpColumns = array();
        $this->updateFilter = array(0, 1, );
        $this->toArrayFilter = array();
        $this->searchColumns = array(0, 1, );
        $this->updateColumns = array(0, 1, );
        $this->jsonColumns = array();
        $this->cacheColumn = 1;
        $this->shardColumn = 1;
        $this->pkColumn = 0;
        $this->deleteColumns = array(0, );
        $this->tableShardCount = defined("DURATION_ITEM_LOG_TABLE_SHARD_COLUMN") ? DURATION_ITEM_LOG_TABLE_SHARD_COLUMN : null;
        $this->cacheTime = 259200;

        $this->ormName = 'ModuleItemDurationLog';
        $this->columnCount = 6;
        $this->isList = true;
        $this->dbType = 'MySql';
        $this->voClassName = 'ModuleItemDurationLogVo';
        $this->voListClassName = 'ModuleItemDurationLogVoList';

        parent::__construct();
    }

}